<!--#include file="include/conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>东方名仕酒店欢迎您！</title>
<link type="text/css" rel="stylesheet" href="css.css">
<script language="javascript" src="Carlder.js"></script>
</head>

<body bgcolor="4D2D1E" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td height="62" valign="top" background="images/top.jpg" bgcolor="A95401"  style=" background-repeat:no-repeat; background-position:center top;" leftmargin="0" topmargin="0">
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="30"> 
            <div align="right"><a href="index.asp" class="b">主頁</a> <font color="601500">&nbsp;|&nbsp;</font> 
              <a href="order.asp" class="b">我要訂房</a> <font color="601500">&nbsp;|&nbsp;</font> 
              <a href="zhaopin.asp" class="b">人才招聘</a> <font color="601500">&nbsp;|&nbsp;</font> 
              <a href="contact.asp" class="b">聯繫我們</a></div></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td height="37" bgcolor="1D1000"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td><div align="center" class="zihao13"><a href="index.asp"><strong>主頁導航</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="news.asp"><strong>酒店新聞</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="company.asp"><strong>酒店概述</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="order.asp"><strong>預訂中心</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="canyin.asp"><strong>酒店餐飲</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="kefang.asp"><strong>客房服務</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="yanhui.asp"><strong>宴會設施</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="jituan.asp"><strong>集團旗下</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="zhaopin.asp"><strong>人才招聘</strong></a></div></td>
          <td width="1"><img src="images/menu_xian.jpg" width="1" height="13"></td>
          <td><div align="center" class="zihao13"><a href="contact.asp"><strong>聯繫我們</strong></a></div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="4" bgcolor="4C3A24"></td>
  </tr>
  <tr> 
    <td height="256" valign="top" background="images/banner1_02.jpg" bgcolor="1C0601" style=" background-repeat:no-repeat; background-position:center top;" leftmargin="0" topmargin="0">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign="top" bgcolor="654F32"><table width="100%" border="0" cellspacing="15" cellpadding="0">
              <tr>
                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr valign="top"> 
                            <td width="220"><table width="220" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><img src="images/dh.jpg" width="71" height="17"></td>
                              </tr>
                              <tr>
                                <td height="10"></td>
                              </tr>
                              <tr>
                                <td valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="index.asp">主頁導航</a></td>
                                  </tr>
								  <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
								  <tr>
                                    <td height="23">&gt;&nbsp;<a href="news.asp">酒店新聞</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="company.asp">酒店概述</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="order.asp">預訂中心</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="canyin.asp">酒店餐飲</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="kefang.asp">客房服務</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="yanhui.asp">宴會設施</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="jituan.asp">集團旗下</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="zhaopin.asp">人才招聘</a></td>
                                  </tr>
								   <tr><td height="2"></td></tr>
								  <tr><td height="1" bgcolor="5E492D"></td></tr>
                                  <tr><td height="2"></td></tr>
                                  <tr>
                                    <td height="23">&gt;&nbsp;<a href="contact.asp">聯繫我們</a></td>
                                  </tr>
                                </table>                                  </td>
                              </tr>
                              <tr>
                                <td>&nbsp;</td>
                              </tr>

                              <tr>
                                <td><img src="images/index_05.jpg" width="71" height="17"></td>
                              </tr>
                              <tr>
                                <td height="8"></td>
                              </tr>
                              <tr>
                                <td>無錫東方名仕酒店投資管理有限公司<br>
                                  地址:江蘇省無錫市濱湖區鴻橋路889號<img src="images/tp_09.jpg" width="76" height="68" align="right"><br>
                                  餐飲:0510-83596666 <br>
                                  客房:0510-85160777 <br>
                                  傳真:0510-85890338</td>
                              </tr>
                            </table></td>
                            <td width="43"><div align="center"><img src="images/index_xian.jpg" width="1" height="350"></div></td>
                            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><img src="images/yuding_05.jpg" width="71" height="17"></td>
                              </tr>
                              <tr>
                                <td><img src="images/index_03.jpg" width="707" height="5"></td>
                              </tr>
                              <tr>
                                <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td>
								
								
								
								
								
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="0">
<script language="javascript">
function orderadd(f){
	if(document.getElementById('ordertype1').checked==true){
	    if(f.startdate.value==""){
		     alert("请输入抵店时间");
			 f.startdate.focus();
			 return false;
		}
	    if(f.enddate.value==""){
		     alert("请输入离店时间");
			 f.enddate.focus();
			 return false;
		}
	}
	else{
		if(f.eattime.value==""){
			 alert("请输入就餐时间");
			 f.eattime.focus();
			 return false;
		}
		if(f.peoplenum.value==""){
			 alert("请输入就餐人数");
			 f.peoplenum.focus();
			 return false;
		}
	}
	if(f.name.value==""){
		 alert("请输入您的姓名");
		 f.name.focus();
		 return false;
	}
	if(f.mobile.value==""){
		 alert("请输入您的手机号");
		 f.mobile.focus();
		 return false;
	}
}
function showt(id){
    if(id=='1')
	{
		document.getElementById('t1').style.display='';
		document.getElementById('t2').style.display='none';
	}
    else
	{
		document.getElementById('t1').style.display='none';
		document.getElementById('t2').style.display='';
	}
}
</script>
<%
if request("action")="OrderSave" then
checkcode(request("checkcode"))
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from ordersub ",conn,1,3
rs.addnew
rs("ordertype")=trim(request.Form("ordertype"))
rs("startdate")=trim(request.Form("startdate"))
rs("starttime")=trim(request.Form("starttime"))
rs("enddate")=trim(request.Form("enddate"))
rs("endtime")=trim(request.Form("endtime"))
rs("roomtype")=trim(request.Form("roomtype"))
rs("roomsnum")=trim(request.Form("roomsnum"))
rs("eatdate")=trim(request.Form("eatdate"))
rs("eattime")=trim(request.Form("eattime"))
rs("peoplenum")=trim(request.Form("peoplenum"))
rs("name")=trim(request.Form("name"))
rs("tel")=trim(request.Form("tel"))
rs("mobile")=trim(request.Form("mobile"))
rs("email")=trim(request.Form("email"))
rs.update
rs.close
set rs=nothing
alert("提交成功")
go("?")
end if
%>
 <form action="?action=OrderSave" method="post" onSubmit="return orderadd(this)">
                                  <tr>
                                    <td bgcolor="#4A3A24"><span style="font-weight: bold">预订类型</span></td>
                                  </tr>
                                  <tr>
                                    <td><input name="ordertype" id="ordertype1" type="radio" value="1" checked onClick="showt('1')">
                                      客房&nbsp; <input type="radio" name="ordertype" id="ordertype2" value="2"  onClick="showt('2')">
餐饮</td>
                                  </tr>
                                  <tr>
                                    <td bgcolor="#4A3A24"><span style="font-weight: bold">预订信息</span></td>
                                  </tr>
                                  <tr>
                                    <td><table id="t1" width="100%" border="0" cellspacing="0" cellpadding="4">
                                      <tr>
                                        <td width="17%" align="center">抵店时间</td>
                                        <td width="35%"><input name="startdate" value="<%=request("startdate")%>" id="startdate" onFocus="javascript:ShowCarlder('startdate','startdate','enddate');" type="text" size="12">
                                          <select name="starttime">
										    <%for i=0 to 23%><option value="<%=i%>:00"><%=i%>:00</option><option value="<%=i%>:30"><%=i%>:30</option><%next%>
                                          </select>
                                          *</td>
                                        <td width="16%" align="center">离店时间</td>
                                        <td width="32%"><input type="text" name="enddate" value="<%=request("enddate")%>" id="enddate" onFocus="javascript:ShowCarlder('enddate','enddate','');" size="12">
                                          <select name="endtime">
										    <%for i=0 to 23%><option value="<%=i%>:00"><%=i%>:00</option><option value="<%=i%>:30"><%=i%>:30</option><%next%>
                                          </select>
*</td>
                                      </tr>
                                      <tr>
                                        <td align="center">房间类型</td>
                                        <td><select name="roomtype">
										<%
										set rs=server.createobject("adodb.recordset")
										sql="select * from product where oneclassid=2 order by px desc,id desc"
										rs.open sql,conn,1,1
										do while not rs.eof
										%>
										<option value="<%=rs("title")%>"><%=rs("title")%></option>
										<%
										rs.movenext
										loop
										rs.close
										set rs=nothing
										%>
                                        </select>                                        </td>
                                        <td align="center">房间数</td>
                                        <td><select name="roomsnum">
										<option value="1">1</option>
										<option value="2">2</option>
										<option value="3">3</option>
										<option value="4">4</option>
										<option value="5">5</option>
                                        </select></td>
                                      </tr>

                                    </table>
                                      <table id="t2" style="display:none" width="100%" border="0" cellspacing="0" cellpadding="4">
                                        <tr>
                                          <td width="17%" align="center">就餐时间</td>
                                          <td width="35%"><input name="eatdate" type="text" id="eatdate" onFocus="javascript:ShowCarlder('eattime','eattime','');"  size="12">
										  <select name="eattime">
										    <%for i=10 to 13%><option value="<%=i%>:00"><%=i%>:00</option><option value="<%=i%>:30"><%=i%>:30</option><%next%>
										    <%for i=16 to 22%><option value="<%=i%>:00"><%=i%>:00</option><option value="<%=i%>:30"><%=i%>:30</option><%next%>
                                          </select>
										  *</td>
                                          <td width="16%" align="center">就餐人数</td>
                                          <td width="32%"><input type="text" name="peoplenum">*</td>
                                        </tr>
                                      </table></td>
                                  </tr>
                                  <tr>
                                    <td bgcolor="#4A3A24"><span style="font-weight: bold">用户信息</span></td>
                                  </tr>
                                  <tr>
                                    <td><table width="100%" border="0" cellspacing="0" cellpadding="4">
                                      <tr>
                                        <td width="17%" align="center">您的姓名</td>
                                        <td width="35%"><input name="name" value="<%=request("name")%>" type="text" id="name">
*</td>
                                        <td width="16%" align="center">联系电话</td>
                                        <td width="32%"><input name="tel" type="text" id="tel"></td>
                                      </tr>
                                      <tr>
                                        <td align="center">手机号码</td>
                                        <td><input name="mobile" value="<%=request("mobile")%>" type="text" id="mobile">
*</td>
                                        <td align="center">E-mail:</td>
                                        <td><input name="email" type="text" id="email"></td>
                                      </tr>

                                    </table></td>
                                  </tr>
                                  <tr>
                                    <td align="center">验证码：<input type="text" size="8" name="checkcode">
                                      <img src="include/checkcode.asp" style="border:2px solid #efefef"> <input type="submit" name="Submit" value=" 提交 " style="background-color:#4A3A24; border:1px solid #663300; color:#FFFFFF; font-weight:bold"></td>
                                  </tr>
</form>
                                </table>								</td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td height="40">&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="115" bgcolor="321B00"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30"><a href="index.asp" class="c">主頁導航</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="news.asp" class="c">酒店新聞</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="company.asp" class="c">酒店概述</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="order.asp" class="c">預訂中心</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="canyin.asp" class="c">酒店餐飲</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="kefang.asp" class="c">客房服務</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="yanhui.asp" class="c">宴會設施</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="jituan.asp" class="c">集團旗下</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="zhaopin.asp" class="c">人才招聘</a> &nbsp;<font color="7F745C">|</font>&nbsp; 
                  <a href="contact.asp" class="c">聯繫我們</a></td>
              </tr>
              <tr>
                <td height="1" bgcolor="53300A"></td>
</tr>
              <tr>
                <td height="80"><font color="7F745C">Copyright &copy; 2011 無錫東方名仕酒店投資管理有限公司 
                  版權所有 地址:江蘇省無錫市濱湖區鴻橋路889號 餐飲:0510-83596666 客房:0510-85160777 傳真:0510-85890338<br>
                  No.889 Hongqiao Road,Wuxi,Jiangsu,China. Http://www.msqy.hk 
                  网络与技术支持:</font><a href="http://www.ltall.net/" target="_blank" class="c">君通科技</a><font color="7F745C"><br>
                  <br>
                  建议使用1024 x 768屏幕分辨率及Internet Explorer 5.5或以上版本浏览可得更佳效果 </font><a href="http://www.miitbeian.gov.cn/" target="_blank" class="c">苏ICP备00000000号</a></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
